#!/bin/bash
add-apt-repository -y ppa:mozillateam/ppa
mkdir -p /etc/apt/preferences.d
echo -e "Package: firefox*\n\
Pin: release o=LP-PPA-mozillateam\n\
Pin-Priority: 1001" > /etc/apt/preferences.d/mozilla-firefox
apt install -y firefox fonts-wqy-zenhei ffmpeg
update-alternatives --set x-www-browser /usr/bin/firefox